package Demo2;

public class Test {
    public static void main(String[] args) {
        Dog dog=new Dog("阿财",7);
        dog.eat();
        dog.run();
        dog.swim();
    }
}
